2020-2021 Sunseeker Telemetry and Lighting System
mpy32_ex9_32bitUnsignedMultiply.c File Reference
#include "driverlib.h"

Go to the source code of this file.

Functions

void main (void)
 

Variables

uint64_t Result
 

Function Documentation

◆ main()

void main ( void  )

Definition at line 65 of file mpy32_ex9_32bitUnsignedMultiply.c.

References __no_operation(), and Result.

Variable Documentation

◆ Result

uint64_t Result

MPY - 32x32 Unsigned Multiply

Hardware multiplier is used to multiply two numbers. The calculation is automatically initiated after the second operand is loaded. Results are stored in RES0, RES1, RES2 and RES3.

ACLK = 32.768kHz, MCLK = SMCLK = default DCO

Tested On: MSP430F5438A,MSP430FR5739,MSP430FR5969,MSP430FR2433

/ |
RST

| | | |

This example uses the following peripherals and I/O signals. You must review these and change as needed for your own board:

  • MPY peripheral

This example uses the following interrupt handlers. To use this example in your own application you must add these interrupt handlers to your vector table.

  • NONE

Definition at line 63 of file mpy32_ex9_32bitUnsignedMultiply.c.